package com.bnq.logc.task

import com.bnq.logc.action.WriteAction

class WriteLogTask(val action:WriteAction,val dispatcher: com.bnq.logc.LogcDispatcher) : LogTask() {

    override fun execute() {
        if(!action.isValid()) return
        dispatcher.dispatchPrinter(action.getLogMessage())
    }

}